package handle

import (
	"fiberx/inter"

	"github.com/google/wire"
)

func InitRouter(
	req Req, resp Resp, protobuf Protobuf, file File, redirect Redirect, static Static,
) []inter.IRouter {
	return []inter.IRouter{
		file,
		resp, req, protobuf, redirect, static,
	}
}

var ProviderSet = wire.NewSet(NewReq, NewResp, NewProtobuf, NewFile, NewRedirect, NewStatic, InitRouter)
